//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Toni Braxton & Cedric The Entertainer','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','4/27/2024','8:00 PM','6244689','Toni-Braxton---Cedric-The-Entertainer-4-27-2024'],['Matt Rife','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Thursday','5/2/2024','7:00 PM','6151669','Matt-Rife-5-2-2024'],['Matt Rife','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','5/3/2024','7:00 PM','6151670','Matt-Rife-5-3-2024'],['Matt Rife','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','5/4/2024','7:00 PM','6151671','Matt-Rife-5-4-2024'],['Matt Rife','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','5/4/2024','10:30 PM','6264949','Matt-Rife-5-4-2024'],['Toni Braxton & Cedric The Entertainer','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','5/10/2024','8:00 PM','6244690','Toni-Braxton---Cedric-The-Entertainer-5-10-2024'],['Toni Braxton & Cedric The Entertainer','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Sunday','5/12/2024','8:00 PM','6244694','Toni-Braxton---Cedric-The-Entertainer-5-12-2024'],['Daniel Tosh','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','5/18/2024','8:00 PM','6264307','Daniel-Tosh-5-18-2024'],['Gabriel Iglesias','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','5/24/2024','8:00 PM','6216490','Gabriel-Iglesias-5-24-2024'],['Gabriel Iglesias','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','5/25/2024','8:00 PM','6216491','Gabriel-Iglesias-5-25-2024'],['Gabriel Iglesias','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Sunday','5/26/2024','7:00 PM','6216492','Gabriel-Iglesias-5-26-2024'],['Hasan Minhaj','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','6/1/2024','8:00 PM','6087955','Hasan-Minhaj-6-1-2024'],['Brothers Osborne','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Sunday','6/2/2024','8:00 PM','6115527','Brothers-Osborne-6-2-2024'],['Gabito Ballesteros','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','6/8/2024','8:00 PM','6363101','Gabito-Ballesteros-6-8-2024'],['Toni Braxton & Cedric The Entertainer','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','6/28/2024','8:00 PM','6244695','Toni-Braxton---Cedric-The-Entertainer-6-28-2024'],['Toni Braxton & Cedric The Entertainer','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','6/29/2024','8:00 PM','6244696','Toni-Braxton---Cedric-The-Entertainer-6-29-2024'],['Los Hombres G','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Wednesday','7/3/2024','8:00 PM','6115414','Los-Hombres-G-7-3-2024'],['Toni Braxton & Cedric The Entertainer','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','7/12/2024','8:00 PM','6244697','Toni-Braxton---Cedric-The-Entertainer-7-12-2024'],['Toni Braxton & Cedric The Entertainer','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','7/13/2024','8:00 PM','6244698','Toni-Braxton---Cedric-The-Entertainer-7-13-2024'],['Tash Sultana','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Sunday','7/14/2024','8:00 PM','6403844','Tash-Sultana-7-14-2024'],['The Marias','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','7/19/2024','8:00 PM','6381885','The-Marias-7-19-2024'],['Ron White','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','7/20/2024','8:00 PM','6372151','Ron-White-7-20-2024'],['Brett Goldstein','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','8/3/2024','8:00 PM','6151910','Brett-Goldstein-8-3-2024'],['Wallows','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Sunday','8/11/2024','7:30 PM','6314368','Wallows-8-11-2024'],['Boyz II Men','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','8/23/2024','8:00 PM','6384750','Boyz-II-Men-8-23-2024'],['Boyz II Men','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','8/24/2024','8:00 PM','6384751','Boyz-II-Men-8-24-2024'],['Boyz II Men','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','8/30/2024','8:00 PM','6384752','Boyz-II-Men-8-30-2024'],['Boyz II Men','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','8/31/2024','8:00 PM','6384753','Boyz-II-Men-8-31-2024'],['Daniel Tosh','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','9/7/2024','8:00 PM','6264314','Daniel-Tosh-9-7-2024'],['Girls Gotta Eat','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','9/21/2024','8:00 PM','6370172','Girls-Gotta-Eat-9-21-2024'],['Conan Gray','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','10/11/2024','7:30 PM','6303246','Conan-Gray-10-11-2024'],['Iliza Shlesinger','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','11/15/2024','8:00 PM','6372813','Iliza-Shlesinger-11-15-2024'],['Daniel Tosh','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','11/16/2024','8:00 PM','6264315','Daniel-Tosh-11-16-2024']],'The Cosmopolitan Las Vegas','http://www.ticketnetwork.com/ticket/The-Cosmopolitan-Las-Vegas-events.aspx');